#include <stdio.h>

// 输入一个正整数，判断是奇数还是偶数

int main()
{
    int x;
    printf("enter a number: ");
    scanf("%d", &x);
    if (x == 0)
    {
        printf("[0] is not odd number or even number\n", x);
        return 0;
    }
    if (x % 2 == 0)
    {
        printf("[%d] is even number\n", x);
    }
    else
    {
        printf("[%d] is odd number\n", x);
    }
}